package at.jku.pervasive.gui.action;

import java.awt.Frame;
import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

import at.jku.pervasive.gui.jformdesigner.PropertiesDialog;

public class PreferenceAction extends AbstractAction
{

	private final Frame owner;

	public PreferenceAction(Frame owner)
	{
		super("Preferences");
		this.owner = owner;
	}

	public void actionPerformed(ActionEvent e)
	{
		PropertiesDialog dialog = new PropertiesDialog(owner);
		dialog.setVisible(true);
	}

}
